<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
	<div class="wrapper wrapper-content ">
		<div class="row">
			<div class="col-sm-12">
				<div class="ibox float-e-margins">
					<div class="ibox-content">
						<form class="form-horizontal m-t" id="signupForm">
						<input id="id" name="id" th:value="${tUser.id}"  type="hidden">
						<input id="openid" name="openid" th:value="${tUser.openid}"  type="hidden">
														<div class="form-group">
								<label class="col-sm-3 control-label">昵称：</label>
								<div class="col-sm-8">
									<input id="nickname" name="nickname" th:value="${tUser.nickname}" class="form-control" type="text" readonly>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">图像：</label>
								<div class="col-sm-8">
									<div class="photos">
										<a target="_blank" th:href="${tUser.headimgurl}"><img alt="image" class="feed-photo" th:src="${tUser.headimgurl}"></a>
									</div>
								</div>
							</div>
														<!--<div class="form-group">
								<label class="col-sm-3 control-label">性别：</label>
								<div class="col-sm-8">
									<input id="sex" name="sex" th:value="${tUser.sex}" class="form-control" type="text" readonly>
								</div>
							</div>-->
							<div class="form-group">
								<label class="col-sm-3 control-label">国家：</label>
								<div class="col-sm-8">
									<input id="country" name="country" th:value="${tUser.country}" class="form-control" type="text" readonly>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">省：</label>
								<div class="col-sm-8">
									<input id="province" name="province" th:value="${tUser.province}" class="form-control" type="text" readonly>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">市：</label>
								<div class="col-sm-8">
									<input id="city" name="city" th:value="${tUser.city}" class="form-control" type="text" readonly>
								</div>
							</div>


														<!--<div class="form-group">
								<label class="col-sm-3 control-label">用户code：</label>
								<div class="col-sm-8">
									<input id="code" name="code" th:value="${tUser.code}" class="form-control" type="text">
								</div>
							</div>
														<div class="form-group">	
								<label class="col-sm-3 control-label">权限：</label>
								<div class="col-sm-8">
									<input id="privilege" name="privilege" th:value="${tUser.privilege}" class="form-control" type="text">
								</div>
							</div>
														<div class="form-group">	
								<label class="col-sm-3 control-label">微信开放平台帐号id：</label>
								<div class="col-sm-8">
									<input id="unionid" name="unionid" th:value="${tUser.unionid}" class="form-control" type="text">
								</div>
							</div>-->

							<div class="form-group">
								<label class="col-sm-3 control-label">订阅时间：</label>
								<div class="col-sm-8">
									<input th:value="${tUser==null || tUser.createdTime ==null ?'':#dates.format(tUser.createdTime, 'yyyy-MM-dd HH:mm:ss')}" id="createdTime" name="createdTime" class="form-control"
										   type="text" readonly="readonly">
								</div>
							</div>

							<div class="form-group">
								<label class="col-sm-3 control-label">用户类型：</label>
								<div class="col-sm-8">
									<input id="isValid" name="isValid" th:value="${tUser!=null && tUser.isValid ?'审核人员':'订阅用户'}" class="form-control" type="text" readonly>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">备注：</label>
								<div class="col-sm-8">
									<textarea th:field="*{tUser.remark}" id="remark" name="remark" class="form-control"></textarea>
								</div>
							</div>
														<!--<div class="form-group">
								<label class="col-sm-3 control-label">创建人：</label>
								<div class="col-sm-8">
									<input id="createdUser" name="createdUser" th:value="${tUser.createdUser}" class="form-control" type="text">
								</div>
							</div>-->

														<!--<div class="form-group">
								<label class="col-sm-3 control-label">修改人：</label>
								<div class="col-sm-8">
									<input id="updatedUser" name="updatedUser" th:value="${tUser.updatedUser}" class="form-control" type="text">
								</div>
							</div>
														<div class="form-group">	
								<label class="col-sm-3 control-label">修改时间：</label>
								<div class="col-sm-8">
									<input id="updatedTime" name="updatedTime" th:value="${tUser.updatedTime}" class="form-control" type="text">
								</div>
							</div>-->
																					<div class="form-group">
								<div class="col-sm-8 col-sm-offset-3">
									<button type="submit" class="btn btn-primary">提交</button>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
	</div>
	</div>
	<div th:include="include::footer"></div>
	<script type="text/javascript" src="/js/appjs/system/tUser/edit.js" th:src="@{/js/appjs/system/tUser/edit.js}">
	</script>
</body>
</html>
